//
//  MyReusableView.m
//  TakeHer
//
//  Created by Jupiter on 15/6/15.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "MyReusableView.h"

@implementation MyReusableView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.mylabel = [[UILabel alloc]initWithFrame:CGRectMake(20, 10, self.bounds.size.width - 20, 20)];
        [self addSubview:_mylabel];
        _mylabel.textColor = [UIColor orangeColor];
        [_mylabel release];
        UIImageView *iconView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"icon.png"]];
        iconView.frame = CGRectMake(0, 10, 10, 20);
        [self addSubview:iconView];
    }
    return self;
}

@end
